package models

import "github.com/jinzhu/gorm"

type User struct {
	gorm.Model
	Name      string `gorm:"type:varchar(20);not null"`
	Telephone string `gorm:"varchar(11);not null"`
	Email     string `gorm:"varchar(40);not null"`
	Password  string `gorm:"size:255;not null"`
	Age       string  `gorm:"size:255;"`
	InterestedUsers string `gorm:"size:255"`
	InterestedGames string `gorm:"size:255"`
	CollectedGames string  `gorm:"size:255"`
}
type UserInfo struct {
	Telephone string
	Password string
}
